#include <stdio.h>
int main(){
	int n = 0;
	int i = 0;
	int j = 0;
	int num = 0;
	scanf("%d",&n);
	for(i=n;i>0;i--){
		for(j=i;j>0;j--){
			num++;
			printf("%02d",num);
		}
		printf("\n");	
		
	}
}
